SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- =============================================
-- Author:		Alhassan Nageh
-- Create date: 12/9/2012
-- Description:	Get SmartTechInterview Id by Barcode
-- =============================================
CREATE PROCEDURE [dbo].[GetSmartTechInterviewIdByBarcode] 
	-- Add the parameters for the stored procedure here
	@Barcode varchar(max) = null
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	select InterviewId from SmartTechParticipant where Barcode=@Barcode 
END
GO
